package com.bsierp.business.pojo;

/**
 * Order entity. @author MyEclipse Persistence Tools
 */

public class Order implements java.io.Serializable {

    // Fields

    private Integer orderId;
    private User userByOrderBuyer;
    private OrderState orderState;
    private User userByOrderSeller;
    private Product product;
    private Integer orderAmount;
    private String orderBookdate;
    private String orderDeadline;
    private String orderRequest;
    private String orderRemarks;
    private Integer orderCustommade;
    private Double orderTotalprice;
    private String orderProductimage;
    private Integer orderIscheckout;

    // Constructors

    /** default constructor */
    public Order() {
    }

    /** minimal constructor */
    public Order(User userByOrderBuyer, OrderState orderState,
            User userByOrderSeller, Product product, Integer orderAmount,
            String orderBookdate, String orderDeadline, String orderRequest,
            Integer orderCustommade, Double orderTotalprice,
            String orderProductimage, Integer orderIscheckout) {
        this.userByOrderBuyer = userByOrderBuyer;
        this.orderState = orderState;
        this.userByOrderSeller = userByOrderSeller;
        this.product = product;
        this.orderAmount = orderAmount;
        this.orderBookdate = orderBookdate;
        this.orderDeadline = orderDeadline;
        this.orderRequest = orderRequest;
        this.orderCustommade = orderCustommade;
        this.orderTotalprice = orderTotalprice;
        this.orderProductimage = orderProductimage;
        this.orderIscheckout = orderIscheckout;
    }

    /** full constructor */
    public Order(User userByOrderBuyer, OrderState orderState,
            User userByOrderSeller, Product product, Integer orderAmount,
            String orderBookdate, String orderDeadline, String orderRequest,
            String orderRemarks, Integer orderCustommade,
            Double orderTotalprice, String orderProductimage,
            Integer orderIscheckout) {
        this.userByOrderBuyer = userByOrderBuyer;
        this.orderState = orderState;
        this.userByOrderSeller = userByOrderSeller;
        this.product = product;
        this.orderAmount = orderAmount;
        this.orderBookdate = orderBookdate;
        this.orderDeadline = orderDeadline;
        this.orderRequest = orderRequest;
        this.orderRemarks = orderRemarks;
        this.orderCustommade = orderCustommade;
        this.orderTotalprice = orderTotalprice;
        this.orderProductimage = orderProductimage;
        this.orderIscheckout = orderIscheckout;
    }

    // Property accessors

    public Integer getOrderId() {
        return this.orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public User getUserByOrderBuyer() {
        return this.userByOrderBuyer;
    }

    public void setUserByOrderBuyer(User userByOrderBuyer) {
        this.userByOrderBuyer = userByOrderBuyer;
    }

    public OrderState getOrderState() {
        return this.orderState;
    }

    public void setOrderState(OrderState orderState) {
        this.orderState = orderState;
    }

    public User getUserByOrderSeller() {
        return this.userByOrderSeller;
    }

    public void setUserByOrderSeller(User userByOrderSeller) {
        this.userByOrderSeller = userByOrderSeller;
    }

    public Product getProduct() {
        return this.product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Integer getOrderAmount() {
        return this.orderAmount;
    }

    public void setOrderAmount(Integer orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getOrderBookdate() {
        return this.orderBookdate;
    }

    public void setOrderBookdate(String orderBookdate) {
        this.orderBookdate = orderBookdate;
    }

    public String getOrderDeadline() {
        return this.orderDeadline;
    }

    public void setOrderDeadline(String orderDeadline) {
        this.orderDeadline = orderDeadline;
    }

    public String getOrderRequest() {
        return this.orderRequest;
    }

    public void setOrderRequest(String orderRequest) {
        this.orderRequest = orderRequest;
    }

    public String getOrderRemarks() {
        return this.orderRemarks;
    }

    public void setOrderRemarks(String orderRemarks) {
        this.orderRemarks = orderRemarks;
    }

    public Integer getOrderCustommade() {
        return this.orderCustommade;
    }

    public void setOrderCustommade(Integer orderCustommade) {
        this.orderCustommade = orderCustommade;
    }

    public Double getOrderTotalprice() {
        return this.orderTotalprice;
    }

    public void setOrderTotalprice(Double orderTotalprice) {
        this.orderTotalprice = orderTotalprice;
    }

    public String getOrderProductimage() {
        return this.orderProductimage;
    }

    public void setOrderProductimage(String orderProductimage) {
        this.orderProductimage = orderProductimage;
    }

    public Integer getOrderIscheckout() {
        return this.orderIscheckout;
    }

    public void setOrderIscheckout(Integer orderIscheckout) {
        this.orderIscheckout = orderIscheckout;
    }

}